package com.riven.bilibilidemo.utils;

/**
 * @author rivenlee
 * @date 2017/2/22 16:35
 */

public class Api {

    //数据公共接口
    public static final String URL = "http://120.27.126.103:8080/ECServer_D";
    //限时抢购
    public static final String LIMITBUG = URL + "/limitbuy";
    //分类请求
    public static final String CATEGORY = URL + "/category";
    //搜索页面
    public static final String SEARCH = URL + "/search" ;
    //推荐品牌
    public static final String RECOMMED = URL + "/brand" ;

    //热门搜索
    public static final String SEARCH_HEADER_URL = "http://s.search.bilibili.com/";

    public static final String HOT_BODY_URL = "main/hotword?access_key=ec0f54fc369d8c104ee1068672975d6a&actionKey=appkey&appkey=27eb53fc9058f8c3/";

    //发现搜索热词
    public static final String DISCOVER_HOT_URL = SEARCH_HEADER_URL + HOT_BODY_URL;

    //话题中心
    public static final String TOPIC_HEADER_URL = "http://api.bilibili.cn/";
    public static final String TOPIC_CENTER_BODY_URL = "topic/getlist?device=phone&mobi_app=iphone&page=1&pagesize=137";
    public static final String ACTIVITY_CENTER_BODY_URL = "event/getlist?device=phone&mobi_app=iphone";

    public static final String TOPIC_CENTER_URL = TOPIC_HEADER_URL + TOPIC_CENTER_BODY_URL;
    public static final String ACTIVITY_CENTER_URL = TOPIC_HEADER_URL + ACTIVITY_CENTER_BODY_URL;

}
